trace("[MochiAd] Couldn\'t load an ad, make sure your game\'s local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
public static function showInterLevelAd(param1:Object) : void
{
var DEFAULTS:Object = null;
var clip:Object = null;
var ad_msec:Number = NaN;
var ad_timeout:Number = NaN;
var fadeout_time:Number = NaN;
var mc:MovieClip = null;
var wh:Array = null;
var w:Number = NaN;
var h:Number = NaN;
var chk:MovieClip = null;
var options:Object = param1;
DEFAULTS = {
"ad_timeout":2000,
"fadeout_time":250,
"regpt":"o",
"method":"showTimedAd",
"ad_started":function():void
{
if(this.clip is MovieClip)
{
this.clip.stop();
return;
}
throw new Error("MochiAd.showInterLevelAd requires a clip that is a MovieClip or is an instance of a class that extends MovieClip. If your clip is a Sprite, then you must provide custom ad_started and ad_finished handlers.");
},
"ad_finished":function():void
{
if(this.clip is MovieClip)
{
this.clip.play();
return;
}
throw new Error("MochiAd.showInterLevelAd requires a clip that is a MovieClip or is an instance of a class that extends MovieClip. If your clip is a Sprite, then you must provide custom ad_started and ad_finished handlers.");
trace("[MochiAd] Couldn\'t load an ad, make sure your game\'s local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
public static function _parseOptions(param1:Object, param2:Object) : Object
{
var _loc3_:Object = null;
var _loc4_:* = null;
var _loc5_:Array = null;
var _loc6_:Number = NaN;
var _loc7_:Array = null;
_loc3_ = {};
for(_loc4_ in param2)
{
_loc3_[_loc4_] = param2[_loc4_];
}
if(param1)
{
for(_loc4_ in param1)
{
_loc3_[_loc4_] = param1[_loc4_];
}
}
if(_loc3_.clip == undefined)
{
throw new Error("MochiAd is missing the \'clip\' parameter. This should be a MovieClip, Sprite or an instance of a class that extends MovieClip or Sprite.");
throw new Error("MochiAd requires a clip that is an instance of a dynamic class. If your class extends Sprite or MovieClip, you must make it dynamic.");
public static function showPreGameAd(param1:Object) : void
{
var DEFAULTS:Object = null;
var clip:Object = null;
var ad_msec:Number = NaN;
var ad_timeout:Number = NaN;
var fadeout_time:Number = NaN;
var mc:MovieClip = null;
var wh:Array = null;
var w:Number = NaN;
var h:Number = NaN;
var chk:MovieClip = null;
var bar:MovieClip = null;
var bar_color:Number = NaN;
var bar_background:Number = NaN;
var bar_outline:Number = NaN;
var backing_mc:MovieClip = null;
var backing:Object = null;
var inside_mc:MovieClip = null;
var inside:Object = null;
var outline_mc:MovieClip = null;
var outline:Object = null;
var complete:Boolean = false;
var unloaded:Boolean = false;
var f:Function = null;
var sendHostProgress:Boolean = false;
var r:MovieClip = null;
var options:Object = param1;
DEFAULTS = {
"ad_timeout":3000,
"fadeout_time":250,
"regpt":"o",
"method":"showPreloaderAd",
"color":16747008,
"background":16777161,
"outline":13994812,
"no_progress_bar":false,
"ad_started":function():void
{
if(this.clip is MovieClip)
{
this.clip.stop();
return;
}
throw new Error("MochiAd.showPreGameAd requires a clip that is a MovieClip or is an instance of a class that extends MovieClip. If your clip is a Sprite, then you must provide custom ad_started and ad_finished handlers.");
},
"ad_finished":function():void
{
if(this.clip is MovieClip)
{
this.clip.play();
return;
}
throw new Error("MochiAd.showPreGameAd requires a clip that is a MovieClip or is an instance of a class that extends MovieClip. If your clip is a Sprite, then you must provide custom ad_started and ad_finished handlers.");
trace("[MochiAd] Couldn\'t load an ad, make sure your game\'s local security sandbox is configured for Access Network Only and that you are not using ad blocking software");